package com.sunqianhu.design_patterns_23.creational.prototype;

public class Client {
    public static void main(String[] args) throws CloneNotSupportedException {
        ConcretePrototype concretePrototype = new ConcretePrototype();
        ConcretePrototype concretePrototype2 = (ConcretePrototype) concretePrototype.clone();
        System.out.println(concretePrototype.toString());
        System.out.println(concretePrototype2.toString());
    }
}
